package qc.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * CMS中文章操作类型枚举
 *
 * @author QuCheng Tech
 * @since 2023/5/29
 */
@Getter
@AllArgsConstructor
public enum CmsArticleOperateTypeEnum {
    DRAFT(0, "保存草稿"),
    AUDIT(1, "提交审核"),
    PASS(2, "审核通过"),//终审审核通过
    NO_PASS(3, "审核不通过"),//终审审核未通过
    //REVIEW_PASS(12, "二审通过"),//二审审核通过
    //REVIEW_NO_PASS(13, "二审未通过"),//二审审核未通过
    PUBLISH(4, "发布"),
    RECALL(5, "发布撤回"),
    SET_TAG(6, "设置标签"),
    CANCEL_TAG(7, "取消标签"),
    DELETED(9, "删除"),
    REPLACE_SENSITIVE_WORDS(10, "敏感词替换");

    @EnumValue
    private int index;
    private String name;
}
